﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

[ServiceContract(Namespace = "http://BizTalkFlowVisualizer/ConfigService")]
public interface IConfigService
{
    [OperationContract]
    [WebGet(UriTemplate = "getSetting/{settingKey}",
        RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
    // e.g. http://localhost:65390/ConfigService.svc/JSON/getSetting/flowDataUrl
    string GetSetting(string settingKey);
}